<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url() . '/style/admin/css/public.css' ?>">
	<title>Document</title>
	<style type="text/css">
		span{
			color: #f00;
		}
	</style>
</head>
<body>
	<form action="" method="POST">
	<table class="table">
		<tr>
			<td class="th" colspan="10">添加节点</td>
		</tr>
		<tr>
			<td>方法名称</td>
			<td><input type="text" name="name" value="<?php echo set_value('name',isset($node['name'])?$node['name']:''); ?>"/><?php echo form_error('name','<span>','</span>'); ?></td>
		</tr>
		<tr>
			<td>方法标题</td>
			<td><input type="text" name="title" value="<?php echo set_value('title',isset($node['title'])?$node['title']:'') ?>"/><?php echo form_error('title', '<span>', '</span>'); ?></td>
		</tr>
		<tr>
			<td>状态</td>
			<td>
				<input type="radio" name="status" value="0"<?php echo set_radio('status',0,isset($node['status']) && $node['status']==0 ? true:false) ?>/>关闭
				<input type="radio" name="status" value="1" <?php echo set_radio('status',1,isset($node['status']) && $node['status']==1 ? true:false) ?>/>开启
			</td>
		</tr>
		<tr>
			<td>循序</td>
			<td>
				<input type="text" name="orderby" value="<?php echo isset($node['orderby'])? $node['orderby'] : '' ?>" />
			</td>
		</tr>
		<tr>
			<input type="hidden" name="pid" value="<?php echo $pid; ?>" />
			<td colspan="10"><input type="submit" value="提交" class="input_button"/></td>
		</tr>
	</table>
	</form>
</body>
</html>